package com.example.qxfw.csnl.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;

public interface NlybService {
    /**
     * 获取最新期数
     * @return
     */
    Integer getMaxId();

    /**
     * 生成产品
     * @param issueNum
     * @param userName
     * @param yjType
     * @param sXType
     * @param date
     * @param nTimes
     * @param colorAndPos
     * @param posStr
     * @param images
     * @param layerName
     * @param dlData
     * @return
     */
    Object createProduct(Integer issueNum,
                         String userName,
                         String yjType,
                         String sXType,
                         String date,
                         String timeChar,
                         Integer nTimes,
                         String colorAndPos,
                         String posStr,
                         MultipartFile[] images,
                         String layerName,
                         String dlData) throws UnsupportedEncodingException, FileNotFoundException, ParseException;
}
